/* main-header */
.bdb-main-header {
    padding-top: 9px;
    height: 54px;
    background-color: #ffffff;
}
.bdb-main-header .bdb-add-orange {
    float: left;
    margin-left: 49px;
}
/* 新的样式 */
#bdb-policyManage-add-dialog, #bdb-policyManage-edit-dialog {
    width: 859px;
    height: 486px;
}
#bdb-policyManage-add-dialog .content, #bdb-policyManage-edit-dialog .content {
    padding: 52px 55px 0;
}
.bdb-dialog-cont-up {
    height: 225px;
    border-bottom: solid 1px rgba(151, 151, 151, .15);
}
.cont-up-left {
    width: 419px;
    height: 171px;
    border-right: solid 1px rgba(151, 151, 151, .15);
}
.cont-up-right {
    width: 330px;
    height: 178px;
}
.cont-up-right-pie {
    height: 115px;
}
.cont-up-right-rate {
    height: 65px;
}
.cont-up-right-rate .serverWeightForm {
    width: 108px;
    text-align: center;
    margin-left: 55px;
}
.cont-up-right-rate .costWeightForm {
    width: 54px;
    text-align: center;
    margin-left: 79px;
}
.bdb-rate-value {
    border: 0;
    width: 37px;
    margin-bottom: 8px;
    border: solid 1px #ececec;
    text-align: center;
    font-weight: 900;
    padding: 0 5px;
}
input[name = 'serverWeight'] {
    color: #ffde00;
}
input[name = 'costWeight'] {
    color: #4fd9ff;
}
.cont-up-left, .cont-up-right {
    float: left;
}
.bdb-dialog-cont-down {
    height: 102px;
    line-height: 102px;
}
.bdb-dialog-cont-down > label, .bdb-dialog-cont-down > .sort-list {
    float: left;
}
.sort-list {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 30px;
}
.sort-list > span, .sort-item {
    width: 105px;
    height: 32px;
    border-radius: 2px;
    background-color: #fefefe;
    border: solid 1px #ececec;
    display: inline-block;
    line-height: 32px;
    text-align: center;
    margin-right: 10px;
    cursor: move;
    float: left;
}
.sort-list > span > i {
    font-style: normal;
    margin-right: 10px;
}
#getCanvasEdit, #getCanvasAdd {
    width: 130px;
    height: 130px;
}
.bdb-connected-menu {
    margin-left: 16px;
    height: 27px;
    line-height: 27px;
    text-align: center;
    margin-top: 10px;
    float: left;
}
.bdb-isConnected-icon {
    margin-right: 7px;
    margin-top: -2px;
}
.bdb-option-btn {
    float: left;
}
.bdb-dialog-cont-up .form-group:nth-child(2) { margin-left: 41px; }
.bdb-dialog-cont-up .form-group:nth-child(4) { margin-left: 131px; }
.maindash { position: absolute; width: 105px; height: 32px; border: 1px dashed blue; background: #ececec; opacity: 0.7;}
.dash { position: static; width: 105px; height: 32px; border: 1px dashed #f00; }

.fillFatherEdit, .fillFatherAdd {
    height: 130px;
}
#IPNumEdit, #minAvailEdit, #IPNumAdd, #minAvailAdd {
    width: 100px;
    display: block;
}
.bdb-percent-unit {
    float: right;
    right: 29px;
    top: 28px;
    position: absolute;
}

/* main-table */
.bdb-main-content .bdb-table-header {
    height: 55px;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 7px 18px 0 rgba(0, 0, 0, 0.04);
}
.bdb-table-header > div {
    float: left;
    height: 55px;
    line-height: 55px;
    text-align: left;
    cursor: pointer;
}
.bdb-mx-w-col-1 {
    margin-left: 7.4%;
    width: 3.7%;
}
.bdb-mx-w-col-2 {
    margin-left: 1.4%;
    width: 12.4%;
}
.bdb-mx-w-col-3 {
    margin-left: 1.7%;
    width: 11.6%;
}
.bdb-mx-w-col-4 {
    margin-left: 1.6%;
    width: 10.1%;
}
.bdb-mx-w-col-5 {
    margin-left: 1.1%;
    width: 10.1%;
}
.bdb-mx-w-col-6 {
    margin-left: 1.9%;
    width: 8.7%;
}
.bdb-mx-w-col-7 {
    margin-left: 6%;
    width: 17.5%;
}